.bgBox {
    width: 240px;
    height: 310px;
    border: 1px solid orange;
    background-image: url('../img/webpack5.jpg');
}